package com.zone.modular.system.sysuser.controller;


import com.zone.config.mybatis.Result;
import com.zone.modular.system.sysuser.service.ShishigaikuangService;
import com.zone.modular.system.sysuser.service.YunweiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ZoneWonderful
 * @since 2022-08-23
 */
@RestController
@RequestMapping("/yunwei")
public class YunweiController {
    @Autowired
    private YunweiService yunweiService;

    @GetMapping("/getData")
    public Result getData(String state){
        return Result.ok(yunweiService.getData(state));
    }
}

